package statystyczne;

import java.awt.EventQueue;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 * @author krzy
 * @author Jakub Bentyn 194311
 * @author Kamil Chaber 194315
 */

public class PRMain {
	public static void main(String args[]) {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				PRWindow window = new PRWindow();
				PRLogic logic = new PRLogic();
				PRWindowListeners listeneres = new PRWindowListeners(window, logic);
				
				listeneres.initializeListeners();
				
				window.setVisible(true);
			}
		});
	}
}
